package org.jeecg.model.meter.resvo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class MeterDayReportRespVo implements Serializable {
    @ApiModelProperty(value = "项目名称")
    private String projectName;
    @ApiModelProperty(value = "统计分类")
    private String reportClass;
    @ApiModelProperty(value = "日期")
    private String coverDate;
    @ApiModelProperty(value = "收款方式：现金")
    private BigDecimal xianJin;
    @ApiModelProperty(value = "转账")
    private BigDecimal zhuanZhang;
    @ApiModelProperty(value = "微信转账")
    private BigDecimal weixinpayOffline;
    @ApiModelProperty(value = "支付宝转账")
    private BigDecimal alipayOffline;
    @ApiModelProperty(value = "pos机")
    private BigDecimal pos;
    @ApiModelProperty(value = "线上(微信)")
    private BigDecimal weixinpay;
    @ApiModelProperty(value = "线上(支付宝)")
    private BigDecimal alipay;
    @ApiModelProperty(value = "小计")
    private BigDecimal subTotal;

    public MeterDayReportRespVo(){
    }

    public MeterDayReportRespVo(String projectName,String reportClass, String coverDate) {
        this.projectName = projectName;
        this.reportClass = reportClass;
        this.coverDate = coverDate;
        this.xianJin = BigDecimal.ZERO;
        this.zhuanZhang = BigDecimal.ZERO;
        this.weixinpayOffline = BigDecimal.ZERO;
        this.alipayOffline = BigDecimal.ZERO;
        this.pos =  BigDecimal.ZERO;
        this.weixinpay = BigDecimal.ZERO;
        this.alipay = BigDecimal.ZERO;
        this.subTotal = BigDecimal.ZERO;
    }
}
